/*
* pps_bom
*/
package com.pitop.project.api;

import com.pitop.project.entity.ProjectLog;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.ArrayList;
import java.util.List;

/**
 * 项目变更日志 api请求熔断器 熔断实现
 *
 * @author berton
 */
@Component
public class ProjectLogFeignApiImpl implements ProjectLogFeignApi {
    /**
     * 查询ProjectLog一个详情信息
     *
     * @param id
     * @return ProjectLog
     */
    @Override
    public ProjectLog load(@RequestParam("id") Long id) {
        return new ProjectLog();
    }


    /**
     * 根据条件id查询ProjectLog一个详情信息
     *
     * @param id
     * @return ProjectLog
     */
    @Override
    public ProjectLog loadById(@RequestParam("id") Long id) {
        return new ProjectLog();
    }


    /**
     * 查询ProjectLog信息集合
     *
     * @return 分页对象
     */
    @Override
    public List<ProjectLog> list(@RequestBody ProjectLog projectLog, int curPage, int pageSize) {
        return new ArrayList();
    }

    /**
     * 查询ProjectLog信息集合
     *
     * @return 分页对象
     */
    @Override
    public List<ProjectLog> listByPk(Long id, int curPage, int pageSize) {
        return new ArrayList();
    }

    @Override
    public Integer count(@RequestParam("id") Long id) {
        return 0;
    }

    @Override
    public Integer count(@RequestBody ProjectLog projectLog) {
        return 0;
    }

    /**
     * 创建ProjectLog
     *
     * @return ProjectLog
     */
    @Override
    public ProjectLog build(@RequestBody ProjectLog projectLog) {
        return new ProjectLog();
    }

    /**
     * 修改ProjectLog
     *
     * @return ProjectLog
     */
    @Override
    public ProjectLog modify(@RequestBody ProjectLog projectLog) {
        return new ProjectLog();
    }

    /**
     * 删除ProjectLog
     */
    @Override
    public void delete(@RequestParam("id") Long id) {
        return;
    }
}
